﻿<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\web\View;
use backend\models\service\AdminService as Admin;
?>

<div class="pushactivity-form">
    <article class="center">
        <!--<table>-->
            <?php $form = ActiveForm::begin([
                'fieldConfig'=>[
                    'template'=>"<div><div class=\"col-sm-3\">{label}</div>\n<div class=\"col-sm-8\">{input}</div>\n{error}</div>",
                ]
            ]); ?>
            <?=$form->field($model, 'admin_sn')->textInput(['maxlength' => 20,'placeholder' => "请输入合作方账号"])->label('合作方账号')?>
            <?=$form->field($model, 'username')->textInput(['maxlength' => 20,'placeholder' => "请输入合作方名称"])->label('合作方名称')?>
            <?=$form->field($model, 'password_hash')->passwordInput(['placeholder' => "请输入密码"])->label('密码')?>
            <?=$form->field($model, 'password_repeat')->passwordInput(['placeholder' => "请输入再次输入密码"])->label('重复密码')?>
            <?=$form->field($model, 'remark')->textArea(['maxlength' => 20])->label('备注')?>
            <?= Html::submitButton('修改', ['class'=>'btn btn-primary','name' =>'submit-button']) ?>
            <?php ActiveForm::end(); ?>
            
        <!--</table>-->
        
    </article>
</div>